package com.minsheng.epidemic_rep.dao;

import com.minsheng.epidemic_rep.config.MyDataSource;
import com.minsheng.epidemic_rep.entity.DatabaseType;
import com.minsheng.epidemic_rep.entity.Fzjcjl;
import com.minsheng.epidemic_rep.entity.Sysjyjl;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Classname FzjcjlDao
 * @Description TODO
 * @Date 2020/10/6 23:49
 * @Created by You
 */
@Repository
public interface FzjcjlDao {
    @MyDataSource(type = DatabaseType.SLAVE2)
    public List<Fzjcjl> findAll(@Param("startTime") String starTime, @Param("endTime") String endTime);

}
